package com.tedu.egmbatis2.mapper;


import com.tedu.egmbatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    //
    int insertProduct(Product product);

    Product findProductById(Integer id);

    int deleteById(Integer id);

    List<Product> selectManyProduct();

}
